﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SectionChangeInfo.aspx.cs" Inherits="admin_SectionChangeInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>

    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <script type="text/javascript" src="../Scripts/My97DatePicker/WdatePicker.js"></script>

    <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>

</head>
<body>
    <form id="form1" runat="server">
        
        <div class="sub_right_top">
  <div class="hdm_header" >
    <div class="tb1_on"><h2 class="h2_icon">岗位变动</h2></div>

    <div class="clear"></div>
  </div>
  <div class="hdm_footer">
  <div class="share_content_pad">
    <form id="form2" name="form1" method="post" action="">     
      <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="76" valign="top">选择人员：</td>
          <td width="270"><p>待选人员</p>

            <p>
              <label>
              <asp:DropDownList ID="ddlOldSection" runat="server" Width="266px" AppendDataBoundItems="True" AutoPostBack="True" DataSourceID="SectionDataSource" DataTextField="SectionName" DataValueField="SectionId" OnSelectedIndexChanged="ddlOldSection_SelectedIndexChanged" Font-Size="12px">
                                    <asp:ListItem Value="0">请选择部门</asp:ListItem>
                                </asp:DropDownList>
              </label>
            </p></td>
          <td width="41" align="center">
               
          </td>

          <td>被选人员</td>
        </tr>
        <tr>
          <td width="76">&nbsp;</td>
          <td width="270">
             <asp:ListBox ID="lbxUserLists" runat="server" BackColor="#EFF5FB" Height="140px"
                                    SelectionMode="Multiple" Width="266px" Font-Size="12px"></asp:ListBox>
          </td>
          <td width="41" align="center"><p>
            <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/images/to_1r.gif" OnClick="ImageButton2_Click" ToolTip="右移" CausesValidation="False" />
          </p>

            <p>
                <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/images/to_1l.gif" OnClick="ImageButton3_Click" ToolTip="左移" CausesValidation="False" />
            </p>
            <p>
                <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/images/to_3r.gif" OnClick="ImageButton4_Click" ToolTip="全部右移" CausesValidation="False" />
            </p>
            <p>
                <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/images/to_3l.gif" OnClick="ImageButton5_Click" ToolTip="全部左移" CausesValidation="False" />
            </p></td>
          <td>
                <asp:ListBox ID="lbxChangeUser" runat="server" BackColor="#EFF5FB" 
                    Height="170px" SelectionMode="Multiple"
                                    Width="244px" Font-Size="12px"></asp:ListBox>
          </td>
        </tr>
        <tr>
          <td width="76">&nbsp;</td>
          <td width="270">&nbsp;</td>

          <td width="41" align="center">&nbsp;</td>
          <td>&nbsp;</td>
          </tr>
      </table>
      
      <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="76" rowspan="2">变动情况：</td>
          <td>变动后部门：            
                <asp:DropDownList ID="ddlNewSection" runat="server" DataSourceID="SectionDataSource" DataTextField="SectionName" DataValueField="SectionId" AppendDataBoundItems="True" Font-Size="12px">
                                    <asp:ListItem Value="0">请选择部门</asp:ListItem>
                                </asp:DropDownList>
            </td>
          <td>变动时间：            
                <asp:TextBox ID="txtSectionChangeTime" runat="server" CssClass="Wdate" 
                  onClick="WdatePicker()" Height="16px" Width="155px"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <td>变动后职位： 
                <asp:DropDownList ID="ddlNewJob" runat="server" DataSourceID="JobDataSource" DataTextField="JobName"
                                    DataValueField="JobId" Font-Size="12px" AppendDataBoundItems="True">
                                    <asp:ListItem Value="0">请选择职位</asp:ListItem>
                                </asp:DropDownList>
          </td>
          <td>变动后工资： 
                <asp:TextBox ID="txtNewWage" runat="server" Height="16px" Width="157px"></asp:TextBox><asp:RangeValidator ID="RangeValidator1"
                                        runat="server" ControlToValidate="txtNewWage" ErrorMessage="工资格式不正确！" Font-Bold="True"
                                        Height="10px" MaximumValue="1000000" MinimumValue="0" Type="Currency" Width="10px">*</asp:RangeValidator>
          </td>
        </tr>
        <tr>
          <td width="76">&nbsp;</td>
          <td>说明：</td>

          <td>&nbsp;</td>
        </tr>
        <tr>
          <td width="76">&nbsp;</td>
          <td colspan="2"><label>
            <asp:TextBox ID="txtChangeCause" runat="server" Height="137px" TextMode="MultiLine" Width="569px" Font-Size="12px"></asp:TextBox>
          </label></td>
          </tr>

        <tr>
          <td width="76">&nbsp;</td>
          <td colspan="2">
          <asp:Button ID="Button1" runat="server" CssClass="queding_anniu" 
                  onclick="Button1_Click" />
          </tr>
          <tr>
            <td colspan="3">
                 <asp:ValidationSummary ID="ValidationSummary1" runat="server"/>
            </td>
          </tr>
      </table>
      <div style="height:17px;"></div>
    </form>
    </div>
  </div>


        <asp:ObjectDataSource ID="SectionDataSource" runat="server" SelectMethod="findAllSections"
            TypeName="TarreOA.TarreOADAL.SectionDAO"></asp:ObjectDataSource>
        <asp:ObjectDataSource ID="JobDataSource" runat="server" SelectMethod="FindAll" TypeName="TarreOA.TarreOABLL.JobManager">
        </asp:ObjectDataSource>
    
    </div>
    </form>
</body>
</html>
